﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using CF.Member.DAL.WeiboMember;

namespace CaifenWeb.Models
{
    public class MemberModels
    {
        public long UID { get; set; }
        public string HeadPic { get; set; }
        public string NickName { get; set; }
        public int Level { get; set; }
        public DateTime LastLogin { get; set; }
        public int LoginNum { get; set; }//连续登录次数
        public uint Amount { get; set; }
        public uint Experience { get; set; }
        public string Sex { get; set; }


        public OutsideMemInfo memInfoObj { get; set; }
        /// <summary>
        /// 登录类型 sina ,qq
        /// </summary>
        public OutsideLoginType LoginType { get; set; }

        /// <summary>
        /// 登录类型名称
        /// </summary>
        public string LoginTypeName
        {
            get
            {
                
                if (LoginType == OutsideLoginType.sina) return "新浪微博用户";
                else if (LoginType == OutsideLoginType.qq) return "QQ用户";
                else return "其他用户";
            }
            private set{  }
        }
    }
}